package com.xbongbong.paas.toolbox.session.data;

import java.io.Serializable;
import java.util.List;

/**
 * 当前会话用户数据对象
 * 
 * @author kaka
 * @date 2018-7-17
 *
 */
public class CurUser implements Serializable {

	private static final long serialVersionUID = -7438613458950167004L;
	
	/**
	 * 用户ID
	 */
	private String userId;
	
	/**
	 * 当前会话ID
	 */
	private String sessionId;
	
	/**
	 * 公司ID
	 */
	private Integer corpId;

	/**
	 * 用户姓名
	 */
	private String name;
	
	/**
	 * 角色ID集合
	 */
	private List<Integer> roleIds;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getSessionId() {
		return sessionId;
	}

	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}

	public Integer getCorpId() {
		return corpId;
	}

	public void setCorpId(Integer corpId) {
		this.corpId = corpId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<Integer> getRoleIds() {
		return roleIds;
	}

	public void setRoleIds(List<Integer> roleIds) {
		this.roleIds = roleIds;
	}
}
